package com.taiguan.eis.solution.eiswebservice.service;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

@WebService(name = "EqpService",targetNamespace = "http://service.webservicecom.taiguan.eis")
public interface EqpWebService {
    @WebMethod
    @WebResult()
    String TrackOutLot(@WebParam(name = "LotName")String LotName,@WebParam(name = "MachineName")String MachineName,@WebParam(name = "MaterialName")String MaterialName);

    @WebMethod
    @WebResult()
    String MaterialKitting(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "MachineGroupName")String MachineGroupName,@WebParam(name = "ConsumableType")String ConsumableType,@WebParam(name = "ConsumableSpecName")String ConsumableSpecName,@WebParam(name = "ConsumableName")String ConsumableName,@WebParam(name = "Quantity")String Quantity);

    @WebMethod
    @WebResult()
    String MaterialDeKitting(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "MachineGroupName")String MachineGroupName,@WebParam(name = "ConsumableType")String ConsumableType,@WebParam(name = "ConsumableSpecName")String ConsumableSpecName,@WebParam(name = "ConsumableName")String ConsumableName,@WebParam(name = "Quantity")String Quantity);

    @WebMethod
    @WebResult()
    String UnitStateChanged(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "UnitName")String UnitName,@WebParam(name = "UnitStateName")String UnitStateName);

    @WebMethod
    @WebResult()
    String MachineStateChanged(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "MachineStateName")String MachineStateName);

    @WebMethod
    @WebResult()
    String AlarmReport(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "UnitName")String UnitName,@WebParam(name = "AlarmID")String AlarmID,@WebParam(name = "AlarmState")String AlarmState,@WebParam(name = "AlarmSeverity")String AlarmSeverity,@WebParam(name = "AlarmText")String AlarmText);

    @WebMethod
    @WebResult()
    String ProductProcessData(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "UnitName")String UnitName,@WebParam(name = "LotName")String LotName,@WebParam(name = "Parameters")String Parameters);

    @WebMethod
    @WebResult()
    String AOIJudge(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "LotName")String LotName,@WebParam(name = "MaterialName")String MaterialName,@WebParam(name = "LotGrade")String LotGrade,@WebParam(name = "ReasonCode")String ReasonCode);

    @WebMethod
    @WebResult()
    String AOIReJudge(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "LotName")String LotName,@WebParam(name = "MaterialName")String MaterialName,@WebParam(name = "LotGrade")String LotGrade,@WebParam(name = "ReasonCode")String ReasonCode);

    @WebMethod
    @WebResult()
    String EMDataReport(@WebParam(name = "MachineName")String MachineName,@WebParam(name = "UnitName")String UnitName,@WebParam(name = "LotName")String LotName,@WebParam(name = "Parameters")String Parameters);
}
